//
// Created by ChaoDONG on 2021-03-22.
//

// strings1.c
#include <stdio.h>
#define MSG "I am a symbolic string constant."
#define MAXLENGTH 81

int main(void)
{
    char words[MAXLENGTH] = "I am a string in an array.";

    const char * pt1 = "Something is pointing at me.";

    puts("Here are some strings:");
    /* puts()函数也属于stdio.h系列的输入/输出函数 */

    puts(MSG);

    puts(words);

    puts(pt1);

    words[8] = 'p';

    puts(words);

    return 0;
}